-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: create pod with sample app and model services after build is completed (#90) #100
Conversation
When testing on my machine (Fedora Linux), the image is correctly built and the container is started, but the container stops after a few seconds.
|
@feloy yes it's in draft for that reason 😆 |
I have to write some tests but you can start playing with it and see if you face some issue. |
39b3860
to
8ddb6f8
Compare
Works great on Linux Fedora. The model starts instantly on my system (not fast enough for the app to get connected the first time, a retry on the connection to the model would be helpful) |
Oh nice, so windows is the only turtle here 😆 |
I created a PR: https://github.com/axel7083/locallm/pull/4 |
@feloy @axel7083 @jeffmaury i've splitted the commits so the first one is just a refactoring of the existing code (instead of having a hube pullApplication i split it into smaller pieces), the second is about new stuff and then 3 and 4 all the tests. |
}); | ||
} | ||
|
||
private downloadModel( | ||
private doDownloadModel( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be in modelsManager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. I'll move it in another PR 👍
I'll wait another hour so someone else have the time to give it a look and i'll merge as this is the base for moving forward. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work, thanks
Signed-off-by: lstocchi <[email protected]>
Signed-off-by: lstocchi <[email protected]>
Signed-off-by: lstocchi <[email protected]>
Signed-off-by: lstocchi <[email protected]>
Signed-off-by: lstocchi <[email protected]>
update audio-to-text for ai studio
This PR adds an additional step to the pullApplication action - it creates a pod with the 2 containers.
It doesn't get started yet, i'm going to work on it on a follow-up PR but it can be start manually from the pod/container page of desktop.
EVentually you should see the green check on create application
and a new pod similar to
If you start it you would probably see it fail because the modelservice is slow at loading the model and the sample app when trying to connect to the model service it fails.
So what you can do is
video demo -> https://drive.google.com/file/d/16hWByy2J17s88o_O6WyFcCwPAVczH3E8/view